<template>
  <div id="index">
    <!-- <leftNav></leftNav> -->
    <div id="main">
      <router-view />
    </div>
    <floatingWindow></floatingWindow>
  </div>
</template>

<script>
    import leftNav from "./common/leftNav";
    import floatingWindow from "./common/floatingWindow";
    export default {
        name: "index",
        components: {
            leftNav,
            floatingWindow
        },
        data() {
            return {
                search: "",
            };
        },
        methods: {

        },
        mounted() {

        },
    };
</script>

<style lang="scss" scoped>
    body {
        //background: #ffffff;
    }
    
    #index {
        position: relative;
        width: 100%;
    }
    
    #navList {
        position: relative;
        width: 100%;
        height: 90px;
        left: 100px;
        z-index: 99999;
    }
    
    #logo {
        width: 180px;
        height: 90px;
        background: #ffffff;
        float: left;
    }
    
    #img_logo {
        width: 125px;
        height: 43px;
        margin: 30px 16px 17px 38px;
        background: url("../assets/img/index/logo.png");
    }
    
    #search {
        position: relative;
        float: left;
        width: 100%;
        height: 90px;
        line-height: 90px;
        padding-left: 1800px;
        text-align: right;
        margin: 0 auto;
        left: -7px;
        #jz {
            position: relative;
            width: 1020px;
            height: 100%;
            margin: 0 auto;
            input {
                width: 392px;
                height: 36px;
                border: 2px solid #385cc8;
                border-radius: 20px 0px 0px 20px;
                position: relative;
                top: -2px;
            }
            #search_butt {
                width: 98px;
                height: 40px;
                background: #385cc8;
                border-radius: 0px 20px 20px 0px;
            }
            #jhd {
                width: 110px;
                height: 40px;
                background: #385cc8;
                border-radius: 20px;
                margin-left: 22px;
            }
        }
    }
    
    .clear {
        clear: both;
    }
    
    #main {
        position: relative;
        // width: calc(100% - 185px);
        // top: 90px;
        /* padding-left: 100px; */
    }
</style>